package com.bharatonjava.hospital.domain;

public class Address {

	private Long addressId;
	private Long patientId;
	private String building;
	private String street;
	private String city;
	private String state;
	private String country;
	private Integer pincode = null;
	private String email;
	private Long mobileNumber;

	public Address() {
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public Long getPatientId() {
		return patientId;
	}

	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}

	public String getBuilding() {
		return building;
	}

	public void setBuilding(String building) {
		this.building = building;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Integer getPincode() {
		return pincode;
	}

	public void setPincode(Integer pincode) {
		this.pincode = pincode;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public Long getMobileNumber() {
		return mobileNumber;
	}
	
	public void setMobileNumber(Long mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	@Override
	public String toString() {
		return "Address [addressId=" + addressId + ", patientId=" + patientId
				+ ", building=" + building + ", street=" + street + ", city="
				+ city + ", state=" + state + ", country=" + country
				+ ", pincode=" + pincode + ", email=" + email
				+ ", mobileNumber=" + mobileNumber + "]";
	}

}
